﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Telas/Administradores/MPIndex.Master" AutoEventWireup="true" CodeBehind="ADMGCadastroEmpresas.aspx.cs" Inherits="ProjetoControlePagamento.Visoes.Telas.Administradores.ADMGCadastroEmpresas" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="height: 100%">
    <asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
        <table style="width: 100%">
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="6" 
                    style="border-bottom-style: groove; border-bottom-width: medium; border-bottom-color: #000000; font-size: large; font-style: normal; font-weight: bolder;">
                    Cadastro de Empresas</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 90px">
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    Razão Social:</td>
                <td colspan="3">
                    <asp:TextBox ID="txtRazaoSocial" runat="server" Width="100%"></asp:TextBox>
                </td>
                <td style="width: 90px" align="left">
                    <asp:Label ID="lblRazaoSocial" runat="server" Font-Bold="True" Font-Size="13pt" 
                        ForeColor="Red" Text="!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    Telefone:</td>
                <td style="width: 257px">
                    <asp:TextBox ID="txtTelefone" runat="server" Width="242px"></asp:TextBox>
                </td>
                <td align="right" style="width: 87px">
                    Email:</td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="284px"></asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="lblEmail" runat="server" Font-Bold="True" Font-Size="13pt" 
                        ForeColor="Red" Text="!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    Endereço:</td>
                <td colspan="3">
                    <asp:TextBox ID="txtEndereco" runat="server" Width="100%"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    Cidade:</td>
                <td style="width: 257px">
                    <asp:TextBox ID="txtCidade" runat="server" Width="242px"></asp:TextBox>
                    <asp:Label ID="lblCidade" runat="server" Font-Bold="True" Font-Size="13pt" 
                        ForeColor="Red" Text="!" Visible="False"></asp:Label>
                </td>
                <td align="right" style="width: 87px">
                    UF:</td>
                <td>
                <asp:DropDownList ID="ddlEstado" runat="server" Width="284px">
                    <asp:ListItem Selected="True">Selecione um Estado</asp:ListItem>
                    <asp:ListItem>Acre</asp:ListItem>
                    <asp:ListItem>Alagoas </asp:ListItem>
                    <asp:ListItem>Amapá </asp:ListItem>
                    <asp:ListItem>Amazonas </asp:ListItem>
                    <asp:ListItem>Bahia </asp:ListItem>
                    <asp:ListItem>Ceará </asp:ListItem>
                    <asp:ListItem>Distrito Federal</asp:ListItem>
                    <asp:ListItem>Espírito Santo</asp:ListItem>
                    <asp:ListItem>Goiás </asp:ListItem>
                    <asp:ListItem>Maranhão </asp:ListItem>
                    <asp:ListItem>Mato Grosso</asp:ListItem>
                    <asp:ListItem>Mato Grosso do Sul</asp:ListItem>
                    <asp:ListItem>Minas Gerais</asp:ListItem>
                    <asp:ListItem>Pará</asp:ListItem>
                    <asp:ListItem>Paraíba</asp:ListItem>
                    <asp:ListItem>Paraná </asp:ListItem>
                    <asp:ListItem>Pernambuco </asp:ListItem>
                    <asp:ListItem>Piauí </asp:ListItem>
                    <asp:ListItem>Rio de Janeiro</asp:ListItem>
                    <asp:ListItem>Rio Grande do Norte</asp:ListItem>
                    <asp:ListItem>Rio Grande do Sul</asp:ListItem>
                    <asp:ListItem>Rondônia</asp:ListItem>
                    <asp:ListItem>Roraima</asp:ListItem>
                    <asp:ListItem>Santa Catarina</asp:ListItem>
                    <asp:ListItem>São Paulo</asp:ListItem>
                    <asp:ListItem>Sergipe</asp:ListItem>
                    <asp:ListItem>Tocantins</asp:ListItem>
                </asp:DropDownList>
                </td>
                <td>
                    <asp:Label ID="lblEstado" runat="server" Font-Bold="True" Font-Size="13pt" 
                        ForeColor="Red" Text="!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    CEP:</td>
                <td style="width: 257px">
                    <asp:TextBox ID="txtCep" runat="server" Width="242px"></asp:TextBox>
                </td>
                <td align="right" style="width: 87px">
                    Data Contrato:</td>
                <td>
                    <asp:TextBox ID="txtData" Width="284px"  runat="server"></asp:TextBox>
                  
                    </td>
                <td>
                    <asp:Label ID="lblDataContrato" runat="server" Font-Bold="True" 
                        Font-Size="13pt" ForeColor="Red" Text="!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="center" colspan="4">
                    <asp:LinkButton ID="lnkNovo" runat="server" onclick="LinkButton1_Click">Novo</asp:LinkButton>
&nbsp;|
                    <asp:LinkButton ID="lnkAlterar" runat="server" onclick="LinkButton2_Click">Alterar</asp:LinkButton>
&nbsp;|
                    <asp:LinkButton ID="lnkSalvar" runat="server" onclick="LinkButton3_Click">Salvar</asp:LinkButton>
&nbsp;|
                    <asp:LinkButton ID="lnkExcluir" runat="server" onclick="lnkExcluir_Click">Excluir</asp:LinkButton>
&nbsp;|
                    <asp:LinkButton ID="lnkCancelar" runat="server" onclick="lnkCancelar_Click">Cancelar</asp:LinkButton>
&nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="6" 
                    style="border-bottom-style: groove; border-bottom-width: medium; border-bottom-color: #000000; font-size: large; font-style: normal; font-weight: bolder;">
                    Empresas Cadastradas</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="6">
                    <div align="left" style="height: 241px">
                        <asp:GridView ID="grdEmpresas" runat="server" Width="914px" BackColor="White" 
                            BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                            EnableModelValidation="True" ForeColor="Black" GridLines="Vertical" 
                            AllowPaging="True" AutoGenerateColumns="False" AutoGenerateSelectButton="True" 
                            onpageindexchanging="grdEmpresas_PageIndexChanging" 
                            onselectedindexchanged="grdEmpresas_SelectedIndexChanged" PageSize="8">
                            <AlternatingRowStyle BackColor="White" />
                            <FooterStyle BackColor="#CCCC99" />
                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                            <RowStyle BackColor="#F7F7DE" />
                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                        </asp:GridView>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right" style="width: 97px">
                    &nbsp;</td>
                <td style="width: 257px">
                    &nbsp;</td>
                <td align="right" style="width: 87px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
          
            
            
        </table>
        </ContentTemplate>
            </asp:UpdatePanel>
       
    </div>
</asp:Content>
